package com.device.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.device.Entity.Device;
import com.device.Entity.Lab;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeviceMapper  extends BaseMapper<Device> {
    IPage<Device> getpage(IPage<Device> page, String keyword);

    List<Integer> selectid(Integer uid);

    IPage<Device> getpage1(IPage<Device> page, String keyword, Integer uid);
//    IPage<Device> getpage(String keyword);
}
